//
//  Family.m
//  OC3_继承与初始化方法作业第二题
//
//  Created by 徐国庆 on 14-11-4.
//  Copyright (c) 2014年 lanou3g.com 蓝鸥科技. All rights reserved.
//

#import "Family.h"

@implementation Family

// 声明指定初始化方法
- (id)initWithHunband:(NSString *)hunband wife:(NSString *)wife son:(NSString *)son
{
    self = [super initWithHunband:hunband wife:wife son:son father:nil mother:nil name:nil sex:nil age:0];
    return self;
}
// 声明方法
- (void)party
{
    NSLog(@"%@ %@ %@经常一起去参加party", _hunband, _wife, _son);
}
- (void)travel
{
    NSLog(@"%@ %@ %@经常一起去旅游", _hunband, _wife, _son);
}





























@end
